package com.restaurant.springboot.service;

import com.restaurant.springboot.entity.DishesEntity;
import com.restaurant.springboot.entity.DishesSeriesEntity;

import java.beans.Transient;
import java.util.List;

public interface DishesSeriesService {
    @Transient
    void deleteDishesSeries(DishesSeriesEntity dishesSeries);

    List<DishesEntity> getDishesByDishesSeriesId(int dishesSeriesId);

    @Transient
    boolean saveDishesSeries(DishesSeriesEntity dishesSeries);

    List<DishesSeriesEntity> getAllDishesService();

    DishesSeriesEntity getDishesSeriesById(int dishesSeriesId);
}
